<% /* $Id: submissiondetails.jsp 132 2011-08-26 10:23:42Z altdotua@gmail.com $ */ %>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>

<%@ include file="../header.jsp" %>

<%
	if (user == null)
	{
		response.sendRedirect(Linker.link("login.jsp?return=" + URLEncoder.encode(request.getRequestURI(), AbstractServlet.defaultEncoding)));
		return;
	}
	SubmissionDetailsEntry submissionFull = SubmissionsModel.getSubmissionDetails1(Long.parseLong(request.getParameter("submissiondetails_id")));
%>
		
<%=
	StringEscapeUtils.escapeHtml(submissionFull.getSourceCode().replaceAll("\n", "§")).replaceAll("&sect;", "<br>")
%>


<%=
	submissionFull.getXmlReport() != null ? 
	StringEscapeUtils.escapeHtml(submissionFull.getXmlReport().replaceAll("\n", "§")).replaceAll("&sect;", "<br>")
	: "no"
%>


<%@ include file="../footer.jsp" %>

